Skip to content

Make it clear that the msg argument to assertRaises is keyword-only.#9670

Merged
benjaminp merged 1 commit into
python:masterfrom
benjaminp:assert-raises-keyword
Oct 2, 2018
Merged

Make it clear that the msg argument to assertRaises is keyword-only.#9670
benjaminp merged 1 commit into
python:masterfrom
benjaminp:assert-raises-keyword

Conversation

@benjaminp

Copy link
Copy Markdown
Contributor

No description provided.

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @benjaminp for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

@benjaminp benjaminp deleted the assert-raises-keyword branch October 2, 2018 05:18
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 2, 2018
…ythonGH-9670)

(cherry picked from commit be4e5b8)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
@bedevere-bot

Copy link
Copy Markdown

GH-9671 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 2, 2018
…ythonGH-9670)

(cherry picked from commit be4e5b8)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
@bedevere-bot

Copy link
Copy Markdown

GH-9672 is a backport of this pull request to the 3.6 branch.

miss-islington added a commit that referenced this pull request Oct 2, 2018
…H-9670)

(cherry picked from commit be4e5b8)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
miss-islington added a commit that referenced this pull request Oct 2, 2018
…H-9670)

(cherry picked from commit be4e5b8)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
@serhiy-storchaka

Copy link
Copy Markdown
Member

See also assertRaisesRegex(), assertWarns() and assertWarnsRegex(). And maybe other methods?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants